﻿using System;
using System.Reflection;
using System.Reflection.Emit;

namespace MessagePack.Internal
{
	// Token: 0x02000065 RID: 101
	internal class DynamicAssembly
	{
		// Token: 0x06000178 RID: 376 RVA: 0x00005D0D File Offset: 0x0000410D
		public DynamicAssembly(string moduleName)
		{
			//this.assemblyBuilder = AppDomain.CurrentDomain.DefineDynamicAssembly(new AssemblyName(moduleName), AssemblyBuilderAccess.Run);
			//this.moduleBuilder = this.assemblyBuilder.DefineDynamicModule(moduleName);
		}

		// Token: 0x17000009 RID: 9
		// (get) Token: 0x06000179 RID: 377 RVA: 0x00005D3E File Offset: 0x0000413E
		public ModuleBuilder ModuleBuilder
		{
			get
			{
				return this.moduleBuilder;
			}
		}

		// Token: 0x04000055 RID: 85
		private readonly AssemblyBuilder assemblyBuilder;

		// Token: 0x04000056 RID: 86
		private readonly ModuleBuilder moduleBuilder;
	}
}
